package com.example.lib_login

import androidx.databinding.ObservableField
import androidx.lifecycle.MutableLiveData
import androidx.lifecycle.ViewModel
import com.example.lib_base.manager.UserMangaer
import java.util.Timer


class LoginViewModel:ViewModel() {
    //用户管理器
    var userManager = UserMangaer.getInstance()

    //可观察的对象
    var agreementImageView = ObservableField(false)

    //保存电话号码
    var phoneNumber = ObservableField("14785749664")

    //显示号码
    var showPhone = ObservableField("已发送至"+phoneNumber.get()!!)

    //时间
    var time = ObservableField("")
    var timer = Timer()

    val MY_TIME = 5
    var displaySwitch = true
    var hiddenSwitch = true



}